package org.sixtynine.stock.service;

/**
 * @author Thilan
 *
 */

import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.PackageData;

public interface PackageDataService {

	PackageData findById(int id);

	void savePackageData(PackageData packageData);

	void deletePackageData(int id);

	PackageData searchPackageData(String name);

	List<PackageData> searchPackageData(int duration);

	Page<PackageData> searchPackageData(int duration, String name,
			String orderBy, String orderName, GridPramDTO gridPramDTO);

}
